<template>
  <div style="background: #EAEDF1;">
    <!-- 顶部面包屑 -->
      <div class="api-top">
          <el-breadcrumb separator-class="el-icon-arrow-right">
            <el-breadcrumb-item :to="{ path: '/' }">您当前的位置</el-breadcrumb-item>
            <el-breadcrumb-item>首页</el-breadcrumb-item>
            <el-breadcrumb-item>自定义块</el-breadcrumb-item>
            <el-breadcrumb-item>内容管理</el-breadcrumb-item>
        </el-breadcrumb>
      </div>
      <!-- tab切换主体 -->
      <div class="api-main">
        <div class="title">
            <span>内容管理</span> 
        </div>
        <el-tabs type="border-card">
          <el-tab-pane label="头部公共">
            <el-form ref="form" :model="form" label-width="120px">
              <el-form-item label="logo右边文字">
                  <el-input v-model="form.right_a" style="width:300px"></el-input>
              </el-form-item>
              <el-form-item label="banner文字">
                  <el-input type="textarea" v-model="form.banner_word" style="width:700px;"></el-input>
              </el-form-item>
              <el-form-item label="logo右边文字">
                  <el-input type="textarea" v-model="form.right_b" style="width:700px;"></el-input>
              </el-form-item>
              <el-form-item label="全国服务热线">
                  <el-input type="textarea" v-model="form.hot_tel" style="width:700px;"></el-input>
              </el-form-item>
              <form action="">
                  <input type="button" value="提交" class="submit">
              </form>
            </el-form>
          </el-tab-pane>
          <el-tab-pane label="公共部分">
            
          </el-tab-pane>
          <el-tab-pane label="底部公共">角色管理</el-tab-pane>
          <el-tab-pane label="第三方代码">定时任务补偿</el-tab-pane>
        </el-tabs>
      </div>
  </div>
</template>

<script>
export default {
  data(){
    return{
      form:{
        right_a:"",
        banner_word:"",
        right_b:"",
        hot_tel:"",
      }
    }
  }
}
</script>

<style scoped>
.api-top{
    background: #fff;
    height: 30px;
    padding: 0 25px;
}
.el-breadcrumb{
    line-height: 30px;
}
.api-main{
    margin: 30px 30px 0;
    background: #fff;
    padding: 15px 27px;
    height: 900px;
}
.title{
    line-height: 44px;
    height: 45px;
    margin:0 0 20px;
    border-bottom: 1px solid#ddd;
}
.title span{
    padding-left: 15px;
    margin-left: 2px;
    border-left: 2px solid #88b7e0;
    color: #2d2b2c;
    height: 15px;
    line-height: 15px;
    display: inline-block;
}
.submit{
    background-color: #28B5D6;
    width: 58px;
    height: 32px;
    color: white;
    border: none;
    font-size: 14px;
    margin-left: 120px;
    margin-bottom: 50px;
}
</style>